<template>
  <div class="ksd-loginbox">
    <h1>学相伴vue登录</h1>
    <p><label for="">用户：<input type="text"></label></p>
    <p><label for="">密码：<input type="text"></label></p>
    <p>
      <button @click="tologin">登录</button>
    </p>
  </div>
</template>

<script>
import loginService from "@/service/LoginService";
export default {
  name: 'Login',
  components: {},
  data(){
      return {

      }
  },
  created() {

  },
  methods:{
    tologin(){
      loginService.login();
    }
  }
}
</script>

<style>

</style>
